package com.exam.service;

import com.exam.entity.QuestionRule;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface QuestionRuleService {
    QuestionRule addQuestionRule(QuestionRule questionRule);
    QuestionRule updateQuestionRule(Long id, QuestionRule questionRule);
    void deleteQuestionRule(Long id);
    QuestionRule getQuestionRuleById(Long id);
    Page<QuestionRule> getAllQuestionRules(Pageable pageable);
}